<include file="public:header" />
<div class="pad_10">
<form action="{:u('items_collect/miao_collect')}" method="post" name="myform" id="myform">
	<input type="hidden" name="cate_id" value="{$cate_id}" />
    <input type="hidden" name="cate_name" value="{$cate_name}" />
    <table width="100%" cellpadding="2" cellspacing="1" class="table_form">
    	<tr>
        	<th width="100">保存分类 :</th>
            <td>{$cate_name}</td>
        </tr>
        <tr>
        	<th>搜索关键词 :</th>
            <td><input type="text" id="keywords" name="keywords" value="{$cate_keywords}"></td>
        </tr>
        <tr>
        	<th>采集页数 :</th>
            <td><input type="text" name="pages" value="1"> <span class="gray">每页20个商品</span></td>
        </tr>
        <tr>
        	<th></th>
            <td><input type="submit" value="开始采集" name="dosubmit" class="button" id="dosubmit"></td>
        </tr>
	</table>
</form>
<script type="text/javascript">
$(function(){
	$("#cate_id").change(function(){
		keywords = $(this).find("option:selected").attr("keywords");
		$("#keywords").val(keywords);
	});
})
</script>
</div>
</body>
</html>